package com.ccys.db.mapper;

import com.ccys.db.entity.TblBookingPayment;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.Map;

/**
* Created by Mybatis Generator on 2024/03/06
*/
public interface TblBookingPaymentMapper extends Mapper<TblBookingPayment>, MySqlMapper<TblBookingPayment> {
       /**
        * @description 校验booking设置支付
        * @date     2024/3/8
        * @author   cloud fly
        */
    Map<String, Object> checkBookingIsSetpayment(@Param("bookingId") String bookingId);

       /**
        * @description 查询bookingPayment
        * @date     2024/3/8
        * @author   cloud fly
        */
    TblBookingPayment getBookingPaymentByBookingId(@Param("bookingId") String bookingId);
}